﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

#nullable disable

namespace lin_cms_dotnet_core.Models
{
    [Table("flow")]
    public partial class Flow
    {
        [Column("created_at", TypeName = "datetime")]
        public DateTime? CreatedAt { get; set; }
        [Column("status", TypeName = "smallint(6)")]
        public short? Status { get; set; }
        [Key]
        [Column("id", TypeName = "int(11)")]
        public int Id { get; set; }
        [Column("index", TypeName = "int(11)")]
        public int Index { get; set; }
        [Column("type", TypeName = "int(11)")]
        public int Type { get; set; }
        [Column("art_id", TypeName = "int(11)")]
        public int ArtId { get; set; }
        [Column("updated_at", TypeName = "datetime")]
        public DateTime? UpdatedAt { get; set; }
        [Column("deleted_at", TypeName = "datetime")]
        public DateTime? DeletedAt { get; set; }
    }
}
